package com.woniuxy.product.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ...
 * @since 2024年05月22日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("product")
public class Product implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "product_id", type = IdType.AUTO)
    private Integer productId;

    @TableField("product_name")
    private String productName;

    @TableField("brand_id")
    private Integer brandId;

    @TableField("brand_name")
    private String brandName;

    @TableField("cat_id")
    private Integer catId;

    @TableField("sub_cat_id")
    private Integer subCatId;

    @TableField("cat_route")
    private String catRoute;

    @TableField("product_attribute")
    private String productAttribute;

    @TableField("product_price")
    private BigDecimal productPrice;

    @TableField("product_picture")
    private String productPicture;

    @TableField("product_state")
    private Integer productState;


}
